package uk.co.q3c.deplan.server.util.validation.rules;

import java.util.List;

/**
 * An interface used by the source of a validation request, to be called back by
 * validation rules in order to obtain property values
 * 
 * @author DSowerby 28 Apr 2009
 * 
 */
public interface PropertyValuer {

	Object propertyValue(String propertyName);

	boolean hasProperty(String propertyName);

	public List<String> validPropertyNames();

	public void setValidPropertyNames(List<String> validPropertyNames);

}
